package com.ithuangyl.common.net.nettest;

import java.util.HashMap;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;
import retrofit2.http.Url;

/**
 * author : itHuang
 * e-mail : ithuangyl@163.com
 * date   : 2020/7/11 22:13
 */
public interface API {
    @GET("appversion/0/getByType")
    Call<String> getTest(@Query("test") String test);
    @GET
    Call<Object> get(@Url String url, @QueryMap HashMap<String, String> params);
}
